<template>
  <!-- <div class="navbar border-1px"> -->
  <div class="navbar border-1px">
    <div class="left">
      <slot name="left"></slot>
    </div>
    <div class="center">
      <slot name="center"></slot>
    </div>
    <div class="right">
      <slot name="right"></slot>
    </div>
  </div>
</template>

<script>
export default {
  name: 'NavBar'
}
</script>

<style lang="scss" scoped>
// @import 'assets/scss/_boder-1px.scss';
.navbar {
  height: 0.44rem;
  background: white;
  color: #191a1b;
  font-size: 17px;
  display: flex;
  border-bottom: 0.5px solid #eee;
  // @include border-bottom(1px, #eee);
  .center {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .right {
    flex: 1;
    margin-right: 0.15rem;
    font-size: 0.13rem;
    color: #191a1b;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .left {
    flex: 1;
    margin-left: 0.15rem;
    font-size: 0.13rem;
    color: #191a1b;
    display: flex;
    align-items: center;
  }
}
</style>